using System;
using System.Collections.Generic;

namespace RBAC.Domain.Dto.Output
{
    /// <summary>
    /// 工艺流程 列表DTO（读端分页）
    /// </summary>
    public class ProcessFlowListDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        public string? FlowCode { get; set; }
        /// <summary>
        /// 系统编号
        /// </summary>
        public string? SystemCode { get; set; }
        /// <summary>
        /// 工艺流程名称
        /// </summary>
        public string? FlowName { get; set; }
        /// <summary>
        /// 工序数量
        /// </summary>
        public long? OwnerUserId { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? OwnerUserName { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public long? DepartmentId { get; set; }
        /// <summary>
        /// 所属部门名称
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        ///工序数量
        /// </summary>
        public long? ProcessCount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUser { get; set; }

        /// <summary>
        /// 工序明细集合
        /// </summary>
        public List<ProcessFlowDetailDto> Details { get; set; } = new();

        /// <summary>
        /// 附件集合
        /// </summary>
        public List<ProcessFlowAttachmentDto> Attachments { get; set; } = new();
    }
}
